package com.zzq.service.impl;

import com.zzq.domain.dto.SmileCouponRuleDTO;
import com.zzq.domain.entity.SmileCouponRule;
import com.zzq.domain.search.CouponRuleSerachParamet;
import com.zzq.mapper.SmileCouponRuleMapper;
import com.zzq.service.SmileCouponRuleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 小布
 * @since 2023-10-26
 */
@Service
public class SmileCouponRuleServiceImpl extends ServiceImpl<SmileCouponRuleMapper, SmileCouponRule> implements SmileCouponRuleService {


    @Autowired
    SmileCouponRuleMapper couponRuleMapper;
    @Override
    public List<SmileCouponRuleDTO> getCouponRuleDTOList(CouponRuleSerachParamet serachParamet) {
       return couponRuleMapper.getCouponRuleDTOList(serachParamet);
    }
}
